package tech.mobi.child.bean;

import org.mymmsc.android.app.IResource;
import org.mymmsc.android.app.util.Utils;

public class GroupBean implements IResource {
	public String title;
	public String image;
	public String content;
	public String message;
	public String releaseId;
	public String price;
	public String consignmentid;
	public String state;
	public String qrcodeid;
	public String describe;
	public String begintime;
	public String finishtime;
	public String releasetime;
	
	public String amount;
	public String indenttime; 
	public String indentid;  
	public String isindented; //订单状态 (1:订购 2:已生成电子券3:已付款4:作废电子券)
	public String serialid; //生成电子卷编码，即二维码，若订单未生成电子卷则为空
	public String isget; //电子卷状态，（0：未消费 1：已消费），若订单未生成电子卷则为空
	public String marketprice;
	
	public String product_name;
	public String refund_flag;
	public String be_order;
	public String xs_data;
	public String is_wl;
	public String is_true;
	
	public String reg_add;
	public String units_phone;

	public String sy_datetime;
	
	public String up_limit;
	
	public String datacount;
	public String indent_order;
	public String isindentedmessage;
	public String imagezoom;
	
	public String user_account;
	public String balance;
	
	public String summoney;
	public String sumamount;
	public String sumamount_wl;
	
	
	public String getIs_true() {
		return is_true;
	}

	public void setIs_true(String is_true) {
		this.is_true = is_true;
	}

	public String getSummoney() {
		return summoney;
	}

	public void setSummoney(String summoney) {
		this.summoney = summoney;
	}

	public String getSumamount() {
		return sumamount;
	}

	public void setSumamount(String sumamount) {
		this.sumamount = sumamount;
	}

	public String getSumamount_wl() {
		return sumamount_wl;
	}

	public void setSumamount_wl(String sumamount_wl) {
		this.sumamount_wl = sumamount_wl;
	}

	//判断物流
	public String getIs_wl() {
		return is_wl;
	}

	public void setIs_wl(String is_wl) {
		this.is_wl = is_wl;
	}

	public String getImagezoom() {
		return imagezoom;
	}

	public void setImagezoom(String imagezoom) {
		this.imagezoom = imagezoom;
	}

	@Override
	public String getImgUrl() {
		return Utils.formatUri(image);
	}
	
	@Override
	public String getTitle() {
		return title;
	}

	@Override
	public String getInfo() {
		return message;
	}

	@Override
	public String getDesc() {
		return describe;
	}

	@Override
	public String getContent() {
		return content;
	}

	@Override
	public String getButtonText() {
		return null;
	}

	public String getPrice() {
		return price;
	}
	
	public void setPrice(String price) {
		this.price = price;
	}

	/**
	 * @param releaseId
	 *            the releaseId to set
	 */
	public void setReleaseId(String releaseId) {
		this.releaseId = releaseId;
	}

	/**
	 * @return the releaseId
	 */
	public String getReleaseId() {
		return releaseId;
	}

	
	public String getState() {
		return state;
	}

	public String getQrcodeid() {
		return qrcodeid;
	}
	public void setQrcodeid(String qrcodeid) {
		this.qrcodeid = qrcodeid;
	}
	
	public String getFinishtime() {
		return finishtime;
	}

	public String getReleasetime() {
		return releasetime;
	}

	public String getBegintime() {
		return begintime;
	}
	
	public String getAmount() {
		String sRet = "";
		if (amount != null) {
			sRet = amount;
		}
		return sRet;
	}
	
	public String getIndenttime() {
		String sRet = "";
		if (indenttime != null) {
			sRet = indenttime;
		}
		return sRet;
	}

	public String getIndentid() {
		String sRet = "";
		if (indentid != null) {
			sRet = indentid;
		}
		return sRet;
	}
	
	public String getIsindented() {
		String sRet = "";
		if (isindented != null) {
			sRet = isindented;
		}
		return sRet;
	}

	public String getSerialid() {
		String sRet = "";
		if (serialid != null) {
			sRet = serialid;
		}
		return sRet;
	}

	public String getIsget() {
		String sRet = "";
		if (isget != null) {
			sRet = isget;
		}
		return sRet;
	}
	
	public String getMarketPrice() {
		String sRet = "";
		if (marketprice != null) {
			sRet = marketprice;
		}
		return sRet;
	}

	public String getProduct_name() {
		return product_name;
	}

	public void setProduct_name(String product_name) {
		this.product_name = product_name;
	}

	public String getRefund_flag() {
		return refund_flag;
	}

	public void setRefund_flag(String refund_flag) {
		this.refund_flag = refund_flag;
	}

	public String getBe_order() {
		return be_order;
	}

	public void setBe_order(String be_order) {
		this.be_order = be_order;
	}

	public String getXs_data() {
		return xs_data;
	}

	public void setXs_data(String xs_data) {
		this.xs_data = xs_data;
	}

	
	
	public String getReg_add() {
		return reg_add;
	}

	public void setReg_add(String reg_add) {
		this.reg_add = reg_add;
	}

	public String getUnits_phone() {
		return units_phone;
	}

	public void setUnits_phone(String units_phone) {
		this.units_phone = units_phone;
	}

	public String getSy_datetime() {
		return sy_datetime;
	}

	public void setSy_datetime(String sy_datetime) {
		this.sy_datetime = sy_datetime;
	}

	public String getUp_limit() {
		return up_limit;
	}

	public void setUp_limit(String up_limit) {
		this.up_limit = up_limit;
	}

	public String getDatacount() {
		return datacount;
	}

	public void setDatacount(String datacount) {
		this.datacount = datacount;
	}

	public String getIndent_order() {
		return indent_order;
	}

	public void setIndent_order(String indent_order) {
		this.indent_order = indent_order;
	}

	public String getIsindentedmessage() {
		return isindentedmessage;
	}

	public void setIsindentedmessage(String isindentedmessage) {
		this.isindentedmessage = isindentedmessage;
	}

	public String getUser_account() {
		return user_account;
	}

	public void setUser_account(String user_account) {
		this.user_account = user_account;
	}

	public String getBalance() {
		return balance;
	}

	public void setBalance(String balance) {
		this.balance = balance;
	}
	
	
	
}
